package cn.hsa.fqz.monitor.dao;

import cn.hsa.fqz.monitor.controller.vo.TMonitorConfigQueryVO;
import cn.hsa.fqz.monitor.entity.TMonitorEntityExecuteSql;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TMonitorEntityExecuteSqlMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TMonitorEntityExecuteSql record);

    int insertSelective(TMonitorEntityExecuteSql record);

    TMonitorEntityExecuteSql selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMonitorEntityExecuteSql record);

    int updateByPrimaryKey(TMonitorEntityExecuteSql record);

    List<TMonitorEntityExecuteSql> selectBySourceEntityCode(@Param("sourceEntityCode") String entityCode);

    List<TMonitorEntityExecuteSql> selectByTargetEntityCode(@Param("targetEntityCode") String entityCode);

    List<TMonitorEntityExecuteSql> selectPageByCondition(@Param("param") TMonitorConfigQueryVO.Condition condition);
}
